package com.gitee.feizns.zxw.domain.error;

import com.gitee.feizns.web.dao.ar.AbstractModel;
import com.gitee.feizns.web.domain.result.ErrEnums;
import com.gitee.feizns.zxw.domain.pojo.DestinationAttractionsEvaluationTagsStatistics;
import com.gitee.feizns.zxw.domain.pojo.DestinationCulturesRecommendAttractions;
import com.gitee.feizns.zxw.domain.pojo.GourmetAccommodationHotelRecommendFood;
import com.gitee.feizns.zxw.domain.pojo.PagePcTopicToLISHUI;
import com.gitee.feizns.zxw.domain.pojo.PagePcTopics;
import com.gitee.feizns.zxw.domain.pojo.ThemeTourismTravelLineEvaluationTagsStatistics;

/**
 * 已存在的错误码
 * @author feizns
 * @since 2019/09/09
 */
public enum ExistsCode implements ErrEnums {

    /**
     * 区域已存在
     */
    DESTINATION_AREAS_ALREADY_EXIST(4001, com.gitee.feizns.zxw.domain.pojo.DestinationAreas.class),

    /**
     * 区域推荐景区已存在
     */
    DESTINATION_AREAS_RECOMMEND_ATTRACTION_ALREADY_EXIST(4002, com.gitee.feizns.zxw.domain.pojo.DestinationAreasRecommendAttraction.class),

    /**
     * 区域推荐文化已存在
     */
    DESTINATION_AREAS_RECOMMEND_CULTURES_ALREADY_EXIST(4003, com.gitee.feizns.zxw.domain.pojo.DestinationAreasRecommendCultures.class),

    /**
     * 区域推荐线路已存在
     */
    DESTINATION_AREAS_RECOMMEND_TRAVEL_LINE_ALREADY_EXIST(4004, com.gitee.feizns.zxw.domain.pojo.DestinationAreasRecommendTravelLine.class),

    /**
     * 景区已存在
     */
    DESTINATION_ATTRACTIONS_ALREADY_EXIST(4005, com.gitee.feizns.zxw.domain.pojo.DestinationAttractions.class),

    /**
     * 景区标签已存在
     */
    DESTINATION_ATTRACTIONS_TAGS_ALREADY_EXIST(4006, com.gitee.feizns.zxw.domain.pojo.DestinationAttractionsTags.class),

    /**
     * 景区推荐景区已存在
     */
    DESTINATION_ATTRACTIONS_RECOMMEND_ATTRACTIONS_ALREADY_EXIST(4007, com.gitee.feizns.zxw.domain.pojo.DestinationAttractionsRecommendAttractions.class),

    /**
     * 景区推荐住宿已存在
     */
    DESTINATION_ATTRACTIONS_RECOMMEND_ACCOMMODATION_ALREADY_EXIST(4008, com.gitee.feizns.zxw.domain.pojo.DestinationAttractionsRecommendAccommodation.class),

    /**
     * 景区推荐美食已存在
     */
    DESTINATION_ATTRACTIONS_RECOMMEND_FOOD_ALREADY_EXIST(4009, com.gitee.feizns.zxw.domain.pojo.DestinationAttractionsRecommendFood.class),

    /**
     * 景区评价已存在
     */
    DESTINATION_ATTRACTIONS_EVALUATION_ALREADY_EXIST(4010, com.gitee.feizns.zxw.domain.pojo.DestinationAttractionsEvaluation.class),

    /**
     * 景区评价标签已存在
     */
    DESTINATION_ATTRACTIONS_EVALUATION_TAGS_ALREADY_EXIST(4011, com.gitee.feizns.zxw.domain.pojo.DestinationAttractionsEvaluationTags.class),

    /**
     * 景区标签情况已存在
     */
    DESTINATION_ATTRACTIONS_EVALUATION_TAGS_MAP_ALREADY_EXIST(4012, DestinationAttractionsEvaluationTagsStatistics.class),

    /**
     * 文化已存在
     */
    DESTINATION_CULTURES_ALREADY_EXIST(4013, com.gitee.feizns.zxw.domain.pojo.DestinationCultures.class),

    /**
     * 文化标签已存在
     */
    DESTINATION_CULTURES_TAGS_ALREADY_EXIST(4014, com.gitee.feizns.zxw.domain.pojo.DestinationCulturesTags.class),

    /**
     * 文化推荐景区已存在
     */
    DESTINATION_CULTURES_RECOMMEND_ATTRACTION_ALREADY_EXIST(4015, DestinationCulturesRecommendAttractions.class),

    /**
     * 文化推荐文化已存在
     */
    DESTINATION_CULTURES_RECOMMEND_CULTURES_ALREADY_EXIST(4016, com.gitee.feizns.zxw.domain.pojo.DestinationCulturesRecommendCultures.class),

    /**
     * 线路已存在
     */
    THEME_TOURISM_TRAVEL_LINE_ALREADY_EXIST(4017, com.gitee.feizns.zxw.domain.pojo.ThemeTourismTravelLine.class),

    /**
     * 线路标签已存在
     */
    THEME_TOURISM_TRAVEL_LINE_TAGS_ALREADY_EXIST(4018, com.gitee.feizns.zxw.domain.pojo.ThemeTourismTravelLineTags.class),

    /**
     * 线路评价已存在
     */
    THEME_TOURISM_TRAVEL_LINE_EVALUATION_ALREADY_EXIST(4019, com.gitee.feizns.zxw.domain.pojo.ThemeTourismTravelLineEvaluation.class),

    /**
     * 线路评价标签已存在
     */
    THEME_TOURISM_TRAVEL_LINE_EVALUATION_TAGS_ALREADY_EXIST(4020, com.gitee.feizns.zxw.domain.pojo.ThemeTourismTravelLineEvaluationTags.class),

    /**
     * 线路标签关联已存在
     */
    THEME_TOURISM_TRAVEL_LINE_EVALUATION_TAGS_MAP_ALREADY_EXIST(4021, ThemeTourismTravelLineEvaluationTagsStatistics.class),

    /**
     * 线路推荐线路已存在
     */
    THEME_TOURISM_TRAVEL_LINE_RECOMMEND_TRAVEL_LINE_ALREADY_EXIST(4022, com.gitee.feizns.zxw.domain.pojo.ThemeTourismTravelLineRecommendTravelLine.class),

    /**
     * 线路推荐景区已存在
     */
    THEME_TOURISM_TRAVEL_LINE_RECOMMEND_ATTRACTIONS_ALREADY_EXIST(4023, com.gitee.feizns.zxw.domain.pojo.ThemeTourismTravelLineRecommendAttractions.class),

    /**
     * 线路推荐住宿已存在
     */
    THEME_TOURISM_TRAVEL_LINE_RECOMMEND_ACCOMMODATION_ALREADY_EXIST(4024, com.gitee.feizns.zxw.domain.pojo.ThemeTourismTravelLineRecommendAccommodation.class),

    /**
     * 线路推荐美食已存在
     */
    THEME_TOURISM_TRAVEL_LINE_RECOMMEND_FOOD_ALREADY_EXIST(4025, com.gitee.feizns.zxw.domain.pojo.ThemeTourismTravelLineRecommendFood.class),

    /**
     * 酒店已存在
     */
    GOURMET_ACCOMMODATION_HOTEL_ALREADY_EXIST(4026, com.gitee.feizns.zxw.domain.pojo.GourmetAccommodationHotel.class),

    /**
     * 酒店标签已存在
     */
    GOURMET_ACCOMMODATION_HOTEL_TAGS_ALREADY_EXIST(4027, com.gitee.feizns.zxw.domain.pojo.GourmetAccommodationHotelTags.class),

    /**
     * 酒店设施配置已存在
     */
    GOURMET_ACCOMMODATION_HOTEL_FACILITY_CONFIGURATION_ALREADY_EXIST(4028, com.gitee.feizns.zxw.domain.pojo.GourmetAccommodationHotelFacilityConfiguration.class),

    /**
     * 酒店房型已存在
     */
    GOURMET_ACCOMMODATION_HOTEL_ROOM_TYPE_ALREADY_EXIST(4029, com.gitee.feizns.zxw.domain.pojo.GourmetAccommodationHotelRoomType.class),

    /**
     * 酒店评价已存在
     */
    GOURMET_ACCOMMODATION_HOTEL_EVALUATION_ALREADY_EXIST(4030, com.gitee.feizns.zxw.domain.pojo.GourmetAccommodationHotelEvaluation.class),

    /**
     * 酒店评价标签已存在
     */
    GOURMET_ACCOMMODATION_HOTEL_EVALUATION_TAGS_ALREADY_EXIST(4031, com.gitee.feizns.zxw.domain.pojo.GourmetAccommodationHotelEvaluationTags.class),

    /**
     * 酒店评价关联已存在
     */
    GOURMET_ACCOMMODATION_HOTEL_EVALUATION_TAGS_MAP_ALREADY_EXIST(4032, com.gitee.feizns.zxw.domain.pojo.GourmetAccommodationHotelEvaluationTagsMap.class),

    /**
     * 酒店推荐线路已存在
     */
    GOURMET_ACCOMMODATION_HOTEL_RECOMMEND_TRAVEL_LINE_ALREADY_EXIST(4033, com.gitee.feizns.zxw.domain.pojo.GourmetAccommodationHotelRecommendTravelLine.class),

    /**
     * 酒店推荐景区已存在
     */
    GOURMET_ACCOMMODATION_HOTEL_RECOMMEND_ATTRACTIONS_ALREADY_EXIST(4034, com.gitee.feizns.zxw.domain.pojo.GourmetAccommodationHotelRecommendAttractions.class),

    /**
     * 酒店推荐住宿已存在
     */
    GOURMET_ACCOMMODATION_HOTEL_RECOMMEND_ACCOMMODATION_ALREADY_EXIST(4035, com.gitee.feizns.zxw.domain.pojo.GourmetAccommodationHotelRecommendAccommodation.class),

    /**
     * 酒店推荐美食已存在
     */
    GOURMET_ACCOMMODATION_ACCOMMODATION_RECOMMEND_FOOD_ALREADY_EXIST(4036, GourmetAccommodationHotelRecommendFood.class),

    /**
     * 名宿已存在
     */
    GOURMET_ACCOMMODATION_HOMESTAY_ALREADY_EXIST(4037, com.gitee.feizns.zxw.domain.pojo.GourmetAccommodationHomestay.class),

    /**
     * 标签已存在
     */
    GOURMET_ACCOMMODATION_HOMESTAY_TAGS_ALREADY_EXIST(4038, com.gitee.feizns.zxw.domain.pojo.GourmetAccommodationHomestayTags.class),

    /**
     * 设施配置已存在
     */
    GOURMET_ACCOMMODATION_HOMESTAY_FACILITY_CONFIGURATION_ALREADY_EXIST(4039, com.gitee.feizns.zxw.domain.pojo.GourmetAccommodationHomestayFacilityConfiguration.class),

    /**
     * 房型已存在
     */
    GOURMET_ACCOMMODATION_HOMESTAY_ROOM_TYPE_ALREADY_EXIST(4040, com.gitee.feizns.zxw.domain.pojo.GourmetAccommodationHomestayRoomType.class),

    /**
     * 评价已存在
     */
    GOURMET_ACCOMMODATION_HOMESTAY_EVALUATION_ALREADY_EXIST(4041, com.gitee.feizns.zxw.domain.pojo.GourmetAccommodationHomestayEvaluation.class),

    /**
     * 名宿评价标签已存在
     */
    GOURMET_ACCOMMODATION_HOMESTAY_EVALUATION_TAGS_ALREADY_EXIST(4042, com.gitee.feizns.zxw.domain.pojo.GourmetAccommodationHomestayEvaluationTags.class),

    /**
     * 名宿评价关联已存在
     */
    GOURMET_ACCOMMODATION_HOMESTAY_EVALUATION_TAGS_MAP_ALREADY_EXIST(4043, com.gitee.feizns.zxw.domain.pojo.GourmetAccommodationHomestayEvaluationTagsMap.class),

    /**
     * 名宿推荐线路已存在
     */
    GOURMET_ACCOMMODATION_HOMESTAY_RECOMMEND_TRAVEL_LINE_ALREADY_EXIST(4044, com.gitee.feizns.zxw.domain.pojo.GourmetAccommodationHomestayRecommendTravelLine.class),

    /**
     * 名宿推荐景区已存在
     */
    GOURMET_ACCOMMODATION_HOMESTAY_RECOMMEND_ATTRACTIONS_ALREADY_EXIST(4045, com.gitee.feizns.zxw.domain.pojo.GourmetAccommodationHomestayRecommendAttractions.class),

    /**
     * 名宿推荐住宿已存在
     */
    GOURMET_ACCOMMODATION_HOMESTAY_RECOMMEND_ACCOMMODATION_ALREADY_EXIST(4046, com.gitee.feizns.zxw.domain.pojo.GourmetAccommodationHomestayRecommendAccommodation.class),

    /**
     * 酒店推荐美食已存在
     */
    GOURMET_ACCOMMODATION_HOMESTAY_RECOMMEND_FOOD_ALREADY_EXIST(4047, com.gitee.feizns.zxw.domain.pojo.GourmetAccommodationHomestayRecommendFood.class),

    /**
     * 美食已存在
     */
    GOURMET_ACCOMMODATION_FOOD_ALREADY_EXIST(4048, com.gitee.feizns.zxw.domain.pojo.GourmetAccommodationFood.class),

    /**
     * 标签已存在
     */
    GOURMET_ACCOMMODATION_FOOD_TAGS_ALREADY_EXIST(4049, com.gitee.feizns.zxw.domain.pojo.GourmetAccommodationFoodTags.class),

    /**
     * 美食推荐美食已存在
     */
    GOURMET_ACCOMMODATION_FOOD_RECOMMEND_FOOD_ALREADY_EXIST(4050, com.gitee.feizns.zxw.domain.pojo.GourmetAccommodationFoodRecommendFood.class),

    /**
     * 美食推荐景区已存在
     */
    GOURMET_ACCOMMODATION_FOOD_RECOMMEND_ATTRACTION_ALREADY_EXIST(4051, com.gitee.feizns.zxw.domain.pojo.GourmetAccommodationFoodRecommendAttraction.class),

    /**
     * 美食推荐景区已存在
     */
    GOURMET_ACCOMMODATION_FOOD_RECOMMEND_ACCOMMODATION_ALREADY_EXIST(4052, com.gitee.feizns.zxw.domain.pojo.GourmetAccommodationFoodRecommendAccommodation.class),

    /**
     * 专题页已存在
     */
    PAGE_TOPICS_ALREADY_EXIST(4053, PagePcTopics.class),

    /**
     * 目的地主题页已存在
     */
    PAGE_PC_THEME_DESTINATION_ALREADY_EXIST(4054, com.gitee.feizns.zxw.domain.pojo.PagePcThemeDestination.class),

    /**
     * 目的地主题页模块已存在
     */
    PAGE_PC_THEME_DESTINATION_MODULES_ALREADY_EXIST(4055, com.gitee.feizns.zxw.domain.pojo.PagePcThemeDestinationModules.class),

    /**
     * 旅行主题页已存在
     */
    PAGE_PC_THEME_THEME_TOURISM_ALREADY_EXIST(4056, com.gitee.feizns.zxw.domain.pojo.PagePcThemeThemeTourism.class),

    /**
     * 旅游主题页模块已存在
     */
    PAGE_PC_THEME_THEME_TOURISM_MODULES_ALREADY_EXIST(4057, com.gitee.feizns.zxw.domain.pojo.PagePcThemeThemeTourismModules.class),

    /**
     * 美食主题页已存在
     */
    PAGE_PC_THEME_GOURMET_ACCOMMODATION_ALREADY_EXIST(4058, com.gitee.feizns.zxw.domain.pojo.PagePcThemeGourmetAccommodation.class),

    /**
     * 美食主题页模块已存在
     */
    PAGE_PC_THEME_GOURMET_ACCOMMODATION_MODULES_ALREADY_EXIST(4059, com.gitee.feizns.zxw.domain.pojo.PagePcThemeGourmetAccommodationModules.class),

    /**
     * 旅行规划主题页已存在
     */
    PAGE_PC_THEME_TRAVEL_PLANNING_ALREADY_EXIST(4060, com.gitee.feizns.zxw.domain.pojo.PagePcThemeTravelPlanning.class),

    /**
     * 旅行规划主题页模块已存在
     */
    PAGE_PC_THEME_TRAVEL_PLANNING_MODULES_ALREADY_EXIST(4061, com.gitee.feizns.zxw.domain.pojo.PagePcThemeTravelPlanningModules.class),

    /**
     * 区域专题已存在
     */
    PAGE_PC_TOPIC_AREAS_ALREADY_EXIST(4062, com.gitee.feizns.zxw.domain.pojo.PagePcTopicAreas.class),

    /**
     * 热门景区已存在
     */
    PAGE_PC_TOPIC_ATTRACTIONS_HOT_ALREADY_EXIST(4063, com.gitee.feizns.zxw.domain.pojo.PagePcTopicAttractionsHot.class),

    /**
     * 文化专题页已存在
     */
    PAGE_PC_TOPIC_CULTURES_ALREADY_EXIST(4064, com.gitee.feizns.zxw.domain.pojo.PagePcTopicCultures.class),

    /**
     * 去丽水专题页已存在
     */
    PAGE_PC_TOPIC_TO_LISHUI_ALREADY_EXIST(4065, PagePcTopicToLISHUI.class),

    /**
     * 优惠专题页已存在
     */
    PAGE_PC_TOPIC_PREFERENTIAL_ALREADY_EXIST(4066, com.gitee.feizns.zxw.domain.pojo.PagePcTopicPreferential.class),

    /**
     * 基本数据专题页已存在
     */
    PAGE_PC_TOPIC_BASIC_DATA_ALREADY_EXIST(4067, com.gitee.feizns.zxw.domain.pojo.PagePcTopicBasicData.class),

    /**
     * 主页线路已存在
     */
    PAGE_PC_HOME_TRAVEL_LINE_ALREADY_EXIST(4068, com.gitee.feizns.zxw.domain.pojo.PagePcHomeTravelLine.class),

    /**
     * 主页攻略已存在
     */
    PAGE_PC_HOME_RAIDERS_ALREADY_EXIST(4069, com.gitee.feizns.zxw.domain.pojo.PagePcHomeRaiders.class),

    /**
     * 主页景区轮播图已存在
     */
    PAGE_PC_HOME_CAROUSEL_ATTRACTIONS_ALREADY_EXIST(4070, com.gitee.feizns.zxw.domain.pojo.PagePcHomeCarouselAttractions.class),

    /**
     * 主页目的地导航已存在
     */
    PAGE_PC_NAV_DESTINATION_ALREADY_EXIST(4071, com.gitee.feizns.zxw.domain.pojo.PagePcNavDestination.class),

    /**
     * 主页主题旅游导航已存在
     */
    PAGE_PC_NAV_THEME_TOURISM_ALREADY_EXIST(4072, com.gitee.feizns.zxw.domain.pojo.PagePcNavThemeTourism.class),

    /**
     * 主页住宿导航已存在
     */
    PAGE_PC_NAV_GOURMET_ACCOMMODATION_ALREADY_EXIST(4073, com.gitee.feizns.zxw.domain.pojo.PagePcNavGourmetAccommodation.class),

    /**
     * 导航热门酒店已存在
     */
    PAGE_PC_NAV_GOURMET_ACCOMMODATION_HOTEL_ALREADY_EXIST(4074, com.gitee.feizns.zxw.domain.pojo.PagePcNavGourmetAccommodationHotel.class),

    /**
     * 旅行规划导航已存在
     */
    PAGE_PC_NAV_TRAVEL_PLANNING_ALREADY_EXIST(4075, com.gitee.feizns.zxw.domain.pojo.PagePcNavTravelPlanning.class),

    /**
     * 后台管理员已存在
     */
    USERS_ADMIN_ALREADY_EXIST(4076, com.gitee.feizns.zxw.domain.pojo.UsersAdmin.class);

    private int code;

    private Class<? extends AbstractModel> type;

    ExistsCode(int code, Class<? extends AbstractModel> type) {
        this.code = code;
        this.type = type;
    }

    public Class<? extends AbstractModel> getType() {
        return type;
    }

}
